#ifndef RSSTHREAD_H
#define RSSTHREAD_H

#include <QThread>

#include "rssfeed.h"


class Thread : public QThread {
        Q_OBJECT
    private:
        RssFeed *feed;
        QNetworkReply::NetworkError *code;
        int timeout;

    public:
        Thread(RssFeed *feed, QNetworkReply::NetworkError *code, int timeout);
    protected:
        void run();
};


#endif // RSSTHREAD_H
